//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//
import { socket } from "@kit.NetworkKit";

export class SocketFactory {
  private static theFactory: SocketFactory;

  public static getDefault(): SocketFactory {
    if (SocketFactory.theFactory === null || SocketFactory.theFactory === undefined) {
      SocketFactory.theFactory = new SocketFactory();
    }
    return this.theFactory;
  }

  createSocket(){
    return socket.constructTCPSocketInstance()
  }
}
